import axios from "../utils/axios";

// 新增时间段数据
export const POST_TIMESLOT = (data) => axios.post('/timeslot', data)
// 获取时间段数据
export const GET_TIMESLOT = () => axios.get("/timeslot")
// 删除时间段数据
export const DELETE_TIMESLOT = (id) => axios.delete("/timeslot/" + id)